import Vue from 'vue';
import Router from 'vue-router';
Vue.use(Router);
const router = new Router({
  // mode: 'history',
  routes: [
    {
      path: '',
      redirect: '/index'
    },
    {
      path: '/index',
      name: 'Index',
      component: resolve => require(['@/pages/index.vue'], resolve)
    },
    {
      path: '/cjjd',
      name: 'cjjd',
      component: resolve => require(['@/compontents/cjjd.vue'], resolve)
    },
    {
      path: '/sy',
      name: 'sy',
      component: resolve => require(['@/compontents/sy.vue'], resolve)
    },
    {
      path: '/zc',
      name: 'zc',
      component: resolve => require(['@/compontents/zc.vue'], resolve)
    },
    {
      path: '/xx',
      name: 'xx',
      component: resolve => require(['@/compontents/xx.vue'], resolve)
    },
    {
      path: '/wkjl',
      name: 'wkjl',
      component: resolve => require(['@/compontents/wkjl.vue'], resolve)
    },
    {
      path: '/wksl',
      name: 'wksl',
      component: resolve => require(['@/compontents/wksl.vue'], resolve)
    },
    {
      path: '/bzzx',
      name: 'bzzx',
      component: resolve => require(['@/compontents/bzzx.vue'], resolve)
    },
    {
      path: '/wdgd',
      name: 'wdgd',
      component: resolve => require(['@/compontents/wdgd.vue'], resolve)
    },
    {
      path: '/zcusdt',
      name: 'zcusdt',
      component: resolve => require(['@/compontents/zcusdt.vue'], resolve)
    },
    {
      path: '/zctot',
      name: 'zctot',
      component: resolve => require(['@/compontents/zctot.vue'], resolve)
    },
    {
      path: '/kcsf',
      name: 'kcsf',
      component: resolve => require(['@/compontents/kcsf.vue'], resolve)
    },
    {
      path: '/wdtj',
      name: 'wdtj',
      component: resolve => require(['@/compontents/wdtj.vue'], resolve)
    },
    {
      path: '/ztsy',
      name: 'ztsy',
      component: resolve => require(['@/compontents/ztsy.vue'], resolve)
    },
    {
      path: '/jtsy',
      name: 'jtsy',
      component: resolve => require(['@/compontents/jtsy.vue'], resolve)
    },
    {
      path: '/sqfh',
      name: 'sqfh',
      component: resolve => require(['@/compontents/sqfh.vue'], resolve)
    },
    {
      path: '/jdfh',
      name: 'jdfh',
      component: resolve => require(['@/compontents/jdfh.vue'], resolve)
    },
    {
      path: '/cbfh',
      name: 'cbfh',
      component: resolve => require(['@/compontents/cbfh.vue'], resolve)
    },
    {
      path: '/xxxx',
      name: 'xxxx',
      component: resolve => require(['@/compontents/xxxx.vue'], resolve)
    },

    {
      path: '/gdxq',
      name: 'gdxq',
      component: resolve => require(['@/compontents/gdxq.vue'], resolve)
    },
    {
      path: '/bzdh',
      name: 'bzdh',
      component: resolve => require(['@/compontents/bzdh.vue'], resolve)
    }, {
      path: '/jxly',
      name: 'jxly',
      component: resolve => require(['@/compontents/jxly.vue'], resolve)
    },
    {
      path: '/bzzxxx',
      name: 'bzzxxx',
      component: resolve => require(['@/compontents/bzzxxx.vue'], resolve)
    },
    {
      path: '/yxjs',
      name: 'yxjs',
      component: resolve => require(['@/compontents/yxjs.vue'], resolve)
    },
    {
      path: '/investment',//投资
      name: 'investment',
      component: resolve => require(['@/pages/investment.vue'], resolve)
    },
    {
      path: '/investment/detail/:id',//投资
      name: 'investment_detail',
      component: resolve => require(['@/pages/investment_detail.vue'], resolve)
    },
  ]
})

export default router